import Layout from "@/layout";

const usersRouter = {
  path: "/order/list",
  component: Layout,
  redirect: "noRedirect",
  name: "order",
  alwaysShow: true,
  hidden: false,
  meta: {
    title: "订单管理",
    abbre: "订单",
    icon: "left_menu_order",
    navigation: "/order",
    id: "407"
  },
  children: [
    {
      path: "/order/list",
      component: () => import("@/views/order/orderList"),
      name: "order_list",
      hidden: false,
      meta: {
        title: "订单列表",
        noCache: false,
        navigation: "/order/list",
        icon: "menu_big_data"
      }
    },
    {
      path: "/order/list/see/:id",
      component: () => import("@/views/order/orderList_see"),
      hidden: true,
      name: "order_list_see",
      meta: {
        title: "查看订单",
        bread: "订单列表,查看订单",
        noCache: true,
        navigation: "/order/list",
        icon: "menu_big_data"
      }
    }
    // {
    //     path: '/order/list/add',
    //     component: () =>
    //         import('@/views/order/orderList_add'),
    //     hidden: true,
    //     name: 'order_list_add',
    //     meta: { title: '创建订单', bread: '订单列表,创建订单', noCache: true, navigation: '/order/list', icon: 'menu_big_data' }
    // },
    // {
    //     path: '/order/summary',
    //     component: () =>
    //         import('@/views/order/orderSummary'),
    //     hidden: false,
    //     name: 'order_summary',
    //     meta: { title: '订单汇总', noCache: true, navigation: '/order/summary', icon: 'menu_big_data' }
    // },
    // {
    //     path: '/order/batch',
    //     component: () =>
    //         import('@/views/order/orderBatch'),
    //     hidden: false,
    //     name: 'order_batch',
    //     meta: { title: '批量改价', noCache: true, navigation: '/order/batch', icon: 'menu_big_data' }
    // },
    // {
    //     path: '/order/batch/record',
    //     component: () =>
    //         import('@/views/order/orderBatch_record'),
    //     hidden: true,
    //     name: 'order_batch_record',
    //     meta: { title: '操作记录', bread: '订单列表,操作记录', noCache: true, navigation: '/order/batch', icon: 'menu_big_data' }
    // }
  ]
};

export default usersRouter;
